﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DuanGiuaKy
{
    public partial class frm_adm_qlPhongHoc : Form
    {
        public frm_adm_qlPhongHoc()
        {
            InitializeComponent();
        }

        private void frm_qlPhongHoc_Load(object sender, EventArgs e)
        {
            int type = Convert.ToInt32(this.Text);
            switch (type)
            {
                case 1:
                    this.Text = "Thêm mới phòng";
                    btnSubmit.Text = "Thêm mới";
                    break;
                case 2:
                    this.Text = "Sửa thông tin phòng";
                    btnSubmit.Text = "Sửa";
                    break;
                default:
                    break;
            }
        }
    }
}
